package com.STS.ELearning.Events
{
	import mx.charts.DateTimeAxis;
	import mx.messaging.messages.IMessage;
	
	public class Mesaj implements IMessage
	{
		public function Mesaj(id:String,body:Object=null)
		{
			this._messageId=id;
			this._body=body;
		}
		
		private var _messageId:String;
		public function get messageId():String
		{
			return _messageId;
			//TODO: implement function
			return null;
		}
		
		public function set messageId(value:String):void
		{
			_messageId=value;
			//TODO: implement function
		}
		
		private var _body:Object=null;
		public function get body():Object
		{
				
			//TODO: implement function
			return _body;
		}
		
		public function set body(value:Object):void
		{
			_body=value;
		}
		
		
		private var _clientId:String=null;
		public function get clientId():String
		{
			//TODO: implement function
			return _clientId;
		}
		
		public function set clientId(value:String):void
		{
			_clientId=value;
		}
		
		private var _destination:String=null;
		public function get destination():String
		{
			//TODO: implement function
			return _destination;
		}
		
		public function set destination(value:String):void
		{
			_destination=value;
		}
		
		
		private var _headers:Object=null;
		public function get headers():Object
		{
			//TODO: implement function
			return _headers;
		}
		
		public function set headers(value:Object):void
		{
			_headers=value;
			//TODO: implement function
		}
		
		
		private var _timestamp:Number;
		public function get timestamp():Number
		{
			//TODO: implement function
			return _timestamp;
		}
		
		public function set timestamp(value:Number):void
		{
			
		}
		
		public function get timeToLive():Number
		{
			
			return 0;
		}
		
		public function set timeToLive(value:Number):void
		{
			//TODO: implement function
		}
		
		public function toString():String
		{
			return messageId;
		}
	}
}